package com.schpro.webexperiment.dataobject;

import com.schpro.webexperiment.model.Exercise;
import java.util.Date;
import lombok.ToString;

@ToString
public class WxExe {
    private String id;

    private String name;

    private String purpose;

    private Integer numPerGrp;

    private String sysEnv;

    private String netEnv;

    private String tools;

    private String principal;

    private String refId;

    private Integer sort;

    private Date gmtCreated;

    private Date gmtModified;

    private String extendStr;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public Integer getNumPerGrp() {
        return numPerGrp;
    }

    public void setNumPerGrp(Integer numPerGrp) {
        this.numPerGrp = numPerGrp;
    }

    public String getSysEnv() {
        return sysEnv;
    }

    public void setSysEnv(String sysEnv) {
        this.sysEnv = sysEnv;
    }

    public String getNetEnv() {
        return netEnv;
    }

    public void setNetEnv(String netEnv) {
        this.netEnv = netEnv;
    }

    public String getTools() {
        return tools;
    }

    public void setTools(String tools) {
        this.tools = tools;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getRefId() {
        return refId;
    }

    public void setRefId(String refId) {
        this.refId = refId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getExtendStr() {
        return extendStr;
    }

    public void setExtendStr(String extendStr) {
        this.extendStr = extendStr;
    }


    public Exercise convertToModel() {
        return new Exercise(this);
    }
}